package org.skyfree.ghyll.tcard.editor;

import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.actions.ActionFactory;
import org.eclipse.ui.part.EditorActionBarContributor;

public class WPEditorActionBarContributor extends EditorActionBarContributor 
{

	public WPEditorActionBarContributor()
	{
		System.out.println("hehe");
	}
	
	
	@Override
	public void contributeToToolBar(IToolBarManager toolBarManager) {
		toolBarManager.add(ActionFactory.NEW.create(this.getPage().getWorkbenchWindow()));
		
	}


	@Override
	public void init(IActionBars bars, IWorkbenchPage page) 
	{
		// TODO Auto-generated method stub
		super.init(bars, page);
	}
	
	
}
